package com.youkeda.comment.feign;

import com.youkeda.comment.model.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name = "wang-user-app")
public interface UserFeign {

    @GetMapping("/user/findByIds")
    public List<User> findByIds(@RequestParam("ids") List<Long> ids);



}